.class public Lcom/kwad/sdk/core/b/b;
.super Ljava/lang/Object;


# direct methods
.method public static a(Ljava/lang/String;)Ljava/lang/String;
    .locals 3

    :try_start_0
    invoke-virtual {p0}, Ljava/lang/String;->getBytes()[B

    move-result-object v0

    const-string v1, "MFwwDQYJKoZIhvcNAQEBBQADSwAwSAJBAOZL22O8FAHpk2edOB7TEnZnR7ZwBKb8pSjUKM1wcasyTZXQjx54agkLtHP73e+mlMcSVyfr1JerBqqv654Yl40CAwEAAQ=="

    invoke-static {v0, v1}, Lcom/kwad/sdk/core/b/c;->a([BLjava/lang/String;)[B

    move-result-object v0

    new-instance v1, Ljava/lang/String;

    invoke-static {}, Lcom/kwad/sdk/core/b/a;->a()Lcom/kwad/sdk/core/b/a$b;

    move-result-object v2

    invoke-virtual {v2, v0}, Lcom/kwad/sdk/core/b/a$b;->a([B)[B

    move-result-object v0

    const-string v2, "UTF-8"

    invoke-direct {v1, v0, v2}, Ljava/lang/String;-><init>([BLjava/lang/String;)V
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    return-object v1

    :catch_0
    move-exception v0

    invoke-static {v0}, Lcom/kwad/sdk/core/d/b;->a(Ljava/lang/Throwable;)V

    return-object p0
.end method

.method public static b(Ljava/lang/String;)Ljava/lang/String;
    .locals 2

    :try_start_0
    invoke-static {}, Lcom/kwad/sdk/core/b/a;->b()Lcom/kwad/sdk/core/b/a$a;

    move-result-object v0

    invoke-virtual {p0}, Ljava/lang/String;->getBytes()[B

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/kwad/sdk/core/b/a$a;->a([B)[B

    move-result-object v0

    const-string v1, "MIIBVAIBADANBgkqhkiG9w0BAQEFAASCAT4wggE6AgEAAkEAkheqsdHKexeJgnX9KRJQHKSRtYnjawZLsKWZ1eAOYoRvhujuGMhzFmjqv4Vn1OwSXnB08pqSYxN5TJLp/62RiQIDAQABAkEAjSTKaHQMkPIDi4Sc6xJjTdj9YYvvqNXzSJ4ly0ll/G0KBzju1h6jg82tGlV00X8pfgbr717WQ1VsC5Zob8HfEQIhANMipYdCns2I5xEwb61nYiibFiAvq+CwnVmqzsF9dBE1AiEAsSLQHoM1HlsveJiarrgYLe8Q0Zi06TNlBxDRS1kLPYUCIEko5zygTBCiUJb3NqtaeHvjiV4rxp379PoeIriPNQnFAiAZT+U3hv5PMS6OaBgqgWoLHk9j9BNeA5cbNF8EClxd1QIgBLzxI1lkCJGcWImO4IrbXNYa7P6Rx0sJ5/i65eTwZ8k="

    invoke-static {v0, v1}, Lcom/kwad/sdk/core/b/c;->b([BLjava/lang/String;)Ljava/lang/String;

    move-result-object p0
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    return-object p0

    :catch_0
    move-exception v0

    invoke-static {v0}, Lcom/kwad/sdk/core/d/b;->a(Ljava/lang/Throwable;)V

    return-object p0
.end method
